//
// Created by fanghr on 17-12-27.
//

#ifndef PROJECT_TEST_SOCKET_H
#define PROJECT_TEST_SOCKET_H

#include "../include.h"

struct message_t {
    int num;
    std::string str;

    friend class boost::serialization::access;

    template<class Archive>
    void serialize(Archive &ar, const unsigned int) {
        ar & num & str;
    }
};

#endif //PROJECT_TEST_SOCKET_H
